<!DOCTYPE html>
<html>
	<head>
		<title>ASSTtcnpm3t2l</title>
		<%= stylesheet_link_tag    "application", :media => "all" %>
		<%= javascript_include_tag "application" %>
		<%= csrf_meta_tags %>
		<%= yield :head %>
	</head>
	<body>
		<div id="logo">
			<%= image_tag("logo.png",:width => '100%', :height => '200', :alt => "logo feed") %>
		</div>
		<div id="top_menu">
			<div id="search">
				<%= form_tag("/search", :method => "get") do %>
				<%= label_tag(:q, "Search for:") %>
				<%= text_field_tag(:q) %>
				<%= submit_tag("Search") %>
				<% end %>
			</div>
			<div id="logon">
				<ul>
					<li>đăng nhập</li>
					<li>đăng xuất</li>
				</ul>
			</div>
		</div>
		<div id="left_menu">
			<ul>
				<li><%=link_to "trang chủ", {:controller => "khachhang", :action => "index"}%></li>
				<li><%=link_to "giới thiệu", {:controller => "khachhang", :action => "gioithieu"}%></li>
				<li>
					<% link_to "sản phẩm", {:controller => "khachhang", :action => "sanpham",:loai =>"0"}%>
					<ul>
						<li><%= link_to "cà phê", {:controller => "khachhang", :action => "sanpham",:loai =>"1"}%></li>
						<li><%= link_to "nước uống khác", {:controller => "khachhang", :action => "sanpham", :loai =>"2"}%></li>
						<li><%= link_to "sản phẩm", {:controller => "khachhang", :action => "sanpham",:loai => "3"}%></li>
					</ul>
				</li>
			</ul>
		</div>
		<div id="giohang">
			<%=yield :giohang%>
		</div>
		<div id = "content">
			<%= yield%>
		</div>
		<div id="footer">
			<h1>copyright : 3T2L</h1>
		</div>

	</body>
</html>
